﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace FileDuplicateRemover.Core
{
    public abstract class BaseEntity : IEquatable<BaseEntity>
    {
        //public string ShortName { get; set; }
        public virtual string FulltName { get; set; }
        public virtual long Length { get; set; }

        protected BaseEntity(string fullName)
        {
            this.FulltName = fullName;
        }

        public override string ToString()
        {
            return FulltName;
        }

        public abstract bool Equals(BaseEntity other);
    }
}
